{% extends "base.twig" %}

{% block title %}{{title}}{% endblock %}
{% block head %}
    {{ parent() }}
    <style type="text/css">
        .important { color: #336699; }
    </style>
{% endblock %}
{% block content %}

 
<div class="header">
    <h1>{{title}}</h1>
    <h2>{{msg}}</h2>
</div>

<div class="content">
    <form class="pure-form pure-form-aligned" method="POST" action="/">
        <fieldset>
            <div class="pure-control-group">
                <label for="email">Email Address</label>
                <input id="email" type="email" name="email" placeholder="Email Address">
            </div>

            <div class="pure-control-group">
                <label for="password">Password</label>
                <input id="password" type="password" name="password" placeholder="Password">
            </div>


            <div class="pure-controls">
                <label for="cb" class="pure-checkbox">
                    <input id="cb" type="checkbox" name="remember"> 一周内自动登录
                </label>
                <input type="hidden" name="from" value="{{from}}">
                <button type="submit" class="pure-button pure-button-primary">Submit</button>
            </div>
        </fieldset>
    </form>
</div>
{% endblock %}